public class Student extends Person {
    protected int score;
    Student(String name, int age, int score) {
        super(name, age);
        this.score = score;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public void hello() {
        System.out.println("hello, " + this.getName());
    }
}


